package com.itydl.imageloader.utils;

import java.io.Closeable;
import java.io.IOException;

/**
 * @author ydl
 * @version 接口隔离原则的应用--关闭流的类
 */

public class CloseUtils {

    private CloseUtils(){}

    public static void close(Closeable closeable){
        try {
            closeable.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
